package com.pwrd.game.service.impl;

import com.pwrd.sframe.dao.Dao;
import com.pwrd.sframe.spring.manager.Manager;

/**
 * @Auther syc.
 * @Date 2016/10/20 14:16.
 */
public class UserService extends Manager {

    private Dao dao;

    public Dao getDao() {
        return dao;
    }

    public void setDao(Dao dao) {
        this.dao = dao;
    }

    public <T> void add(T object) {
        this.dao.save(object);
    }
}
